package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户消息关联表
 *
 * @author flyme
 * @date 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_msgreceive")
@TableAlias("msgreceive")
@ApiModel(value="BusMsgreceive对象", description="用户消息关联表")
public class BusMsgreceive extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "msgReceiveId", type = IdType.ID_WORKER)
    private Long msgReceiveId;

    @ApiModelProperty(value = "接收者Id")
    private Long receiveUserId;

    @ApiModelProperty(value = "消息Id")
    private String msgId;

    @ApiModelProperty(value = "消息内容")
    private String content;

    @ApiModelProperty(value = "消息状态  0 未读  1 已读")
    private Integer status;

    @ApiModelProperty(value = "是否删除  0 未删  1 已删")
    private Integer isDel;

    @ApiModelProperty(value = "发送日期")
    private String sendDate;

    @ApiModelProperty(value = "消息类型  系统/订单")
    private Integer msgType;

}
